package agencia;

import java.util.Collection;
import java.util.Iterator;

public class PlanCuotas extends PlanDePago {

	/**
 *
 */
private Collection<Cuotas> cuotas;

/**
 * Getter of the property <tt>cuotas</tt>
 *
 * @return Returns the cuotas.
 * 
 */
public Collection<Cuotas> getcuotas()
{
	return cuotas;
}
 
/**
 * Returns the number of elements in this collection.
 *
 * @return the number of elements in this collection
 * @see	java.util.Collection#size()
 *
 */
public int cuotasSize(){
	return cuotas.size();
}


/**
 * Ensures that this collection contains the specified element (optional
 * operation). 
 *
 * @param element whose presence in this collection is to be ensured.
 * @see	java.util.Collection#add(Object)
 *
 */
public boolean addcuotas(Cuotas cuotas){
	return this.cuotas.add(cuotas);
}

/**
 * Setter of the property <tt>cuotas</tt>
 *
 * @param cuotas the cuotas to set.
 *
 */
public void setcuotas(Collection<Cuotas> cuotas){
	this.cuotas = cuotas;
}

/**
 * Removes a single instance of the specified element from this
 * collection, if it is present (optional operation).
 *
 * @param element to be removed from this collection, if present.
 * @see	java.util.Collection#add(Object)
 *
 */
public boolean removecuotas(Cuotas cuotas){
	return this.cuotas.remove(cuotas);
}

/**
 * Removes all of the elements from this collection (optional operation).
 *
 * @see	java.util.Collection#clear()
 *
 */
public void clearcuotas(){
	this.cuotas.clear();
}

}
